import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router"
import Login from "./views/login.vue"
import { Button ,Icon } from 'vant';
Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(Button,Icon);
const routes = [
    {
        path: "/login",
        component:Login
    }
]
const router = new VueRouter(
    {routes})
new Vue({
 router,
  render: h => h(App)
}).$mount('#app')

